package com.sanhuo.idms.dao;

import com.sanhuo.idms.entity.ElectricScheduleDay;
import com.sanhuo.triild.Basic.BaseMapper;
import com.sanhuo.triild.annotation.Mapper;
import com.sanhuo.triild.annotation.Select;

import java.util.List;

@Mapper
public interface ElectricScheduleDayMapper extends BaseMapper<ElectricScheduleDay> {
    @Select("select consume from electric_schedule_day where dormId = #{dormId} and createTime like #{createTime} order by createTime desc ")
    List<Double> findTodayByDorm(String dormId, String createTime);
}
